<%@ page language="java" import="java.util.*" pageEncoding="utf-8"
         contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>会员中心 - 徐二组体育馆网上系统</title>
    <link href=" ${pageContext.request.contextPath}/static/css/nav.css" rel="stylesheet" type="text/css"/>
    <script src="${pageContext.request.contextPath}/static/js/nav.js" type="text/javascript"></script>
    <script src="${pageContext.request.contextPath}/static/js/focus.js" type="text/javascript"></script>
    <link href=" ${pageContext.request.contextPath}/static/css/common.css" rel="stylesheet" type="text/css"/>
    <link href=" ${pageContext.request.contextPath}/static/css/ground.css" rel="stylesheet" type="text/css"/>
    <script src="${pageContext.request.contextPath}/static/js/jquery-2.1.1.js"></script>

    <script type="text/javascript">

    </script>
</head>
<%----%>
<body>
<%@ include file="../header.jsp" %>
<div id="main">
    <div id="row_1">
    </div><%----%>
    <div id="row_2">
        <table class="ground-list" cellspacing="2px">
            <tr>
                <th scope="col"> 编号</th>
                <th scope="col"> 会员等级</th>
                <th scope="col"> 资费</th>
                <th scope="col"> 可享优惠</th>
                <th scope="col" class="book"> 操作</th>
            </tr>
            <c:forEach items="${list}" var="list">
                <tr>
                    <td> ${list.CID} </td>
                    <td> ${list.CNAME} </td>
                    <td> 0-0 </td>
                    <td> 会员等级为${list.CNAME}，可享受优惠 </td>
                    <td class="align-center">
                        <a href="${pageContext.request.contextPath}/user/updateCategoryLevel?cid=${list.CID}">充值</a>
                    </td>
                </tr>
            </c:forEach>
        </table>
    </div>
</div>
<script>
  var def = "3";
</script>
<%@ include file="../footer.jsp" %>
</body>
</html>
